ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / FlexGridBase<T> Class / KeyActionEnter Property






In This Topic
    KeyActionEnter Property (FlexGridBase<T>)
    In This Topic
    Gets or sets the action to perform when the ENTER key is pressed.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Overridable Property KeyActionEnter As KeyAction
    'Usage
     
    
    Dim instance As FlexGridBase(Of T)
    Dim value As KeyAction
     
    instance.KeyActionEnter = value
     
    value = instance.KeyActionEnter
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public virtual KeyAction KeyActionEnter {get; set;}
    public read-write property KeyActionEnter: KeyAction; virtual; 
    System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
    public function get,set KeyActionEnter : KeyAction
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public: __property virtual KeyAction get_KeyActionEnter();
    public: __property virtual void set_KeyActionEnter( 
       KeyAction value
    );
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public:
    virtual property KeyAction KeyActionEnter {
       KeyAction get();
       void set (    KeyAction value);
    }
    Remarks
    The default setting for this property is C1.Web.Mvc.Grid.KeyAction.MoveDown, which causes the control to move the selection to the next row. This is the standard Excel behavior.
    See Also